//
//  CheckButton.h
//  Project
//
//  Created by Suny on 14-10-27.
//  Copyright (c) 2014年 Suny. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CheckButtonDelegate;

@interface CheckButton : UIButton
{

}

@property(nonatomic, weak) id <CheckButtonDelegate> delegate;
@property(nonatomic, assign) BOOL                     checked;
@property(nonatomic, strong) id                       userInfo;

- (id)initWithDelegate:(id<CheckButtonDelegate>)delegate;

@end

@protocol CheckButtonDelegate <NSObject>

@optional

- (void)didSelectedCheckBox:(CheckButton *)checkbox checked:(BOOL)checked;

@end
